package com.yswy.common.enums;

import com.yswy.common.enums.base.EnumHelper;
import com.yswy.common.enums.base.Type3Enum;
import com.yswy.common.enums.base.TypeEnum;
import com.yswy.common.enums.base.TypeEnumDto;

import java.util.List;
import java.util.Map;

public enum EventEnums implements Type3Enum {

    JLYQ_active(0, "active","巨量引擎(登录)"),
    JLYQ_game_addiction(1, "active_pay","巨量引擎(关键事件)"),
    JLYQ_active_pay(2, "game_addiction","巨量引擎(付费)"),
    CLZT_1(3, "1","磁力智投(登录)"),
    CLZT_3(4, "3","磁力智投(关键事件)");
    EventEnums(int code, String key, String message) {
        this.code = code;
        this.key = key;
        this.message = message;
    }

    private final int code;
    private final String key;

    private final String message;

    public int getCode() {
        return this.code;
    }

    public String getMessage() {
        return this.message;
    }
    public String getKey() {
        return this.key;
    }
    public static List<TypeEnumDto> kv = EnumHelper.getType3Enum(values());


}
